<%@ Register TagPrefix="uc1" TagName="ucTestata" Src="../controlli/ucTestata.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" CodeFile="gestComprensori.aspx.vb" Inherits="gestComprensori"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>SICOP</title>
		<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
		<script language="javascript">
		
			function apri(s, pag, p){ 
					p = p + 'toolbar=no,location=no,menubar=no,resizable=yes,status=no,titlebar=no,scrollbars=yes,directories=no';
					window.open(s,null,p);
									}				
			--></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table id="tabella di contorno" style="BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; BORDER-BOTTOM: 1px"
					borderColor="#de0029" cellSpacing="0" cellPadding="0" width="700" border="1">
					<tr>
						<td width="100%" bgColor="#de0029"><uc1:uctestata id="UcTestata" runat="server"></uc1:uctestata>
							<table cellSpacing="0" cellPadding="0" width="700" bgColor="#ffffff" border="0">
								<TBODY>
									<tr>
										<td vAlign="top" align="left" width="700">
											<p>
												<table id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
													<TBODY>
														<tr>
															<td colSpan="4"><IMG height="10" src="../images/x.gif" width="1"></td>
														</tr>
														<tr>
															<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
															<td colSpan="3"><A href="../home.aspx"><span class="blu"><b>&gt; Home</b></span></A></td>
														</tr>
														<tr>
															<td colSpan="4"><IMG height="10" src="../images/x.gif" width="1"></td>
														</tr>
														<tr>
															<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
															<td width="36"><IMG height="11" src="../images/quadratino_rosso.gif" width="10"></td>
															<td align="left"><span class="titolo"><asp:label id="lbTitolo" runat="server">Gestione Comprensori </asp:label></span></td>
															<td align="right"></td>
														</tr>
														<tr>
															<td width="6" height="10"><IMG height="10" src="../images/x.gif" width="6"></td>
															<td colSpan="3" height="10"><IMG height="10" src="../images/x.gif" width="1"></td>
														</tr>
													</TBODY>
												</table>
											</p>
											</SPAN>
											<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#fff8f9">
												<tr>
													<td colSpan="3"><IMG height="10" alt="" src="../images/x.gif"></td>
												</tr>
												<tr>
													<TD vAlign="top" width="6" bgColor="#ffffff"><IMG alt="" src="../images/x.gif"></TD>
													<TD vAlign="top" align="right" width="688" bgColor="#ffffff" colSpan="2">
														<TABLE cellSpacing="0" cellPadding="0" width="100%" bgColor="#ffffff">
															<TBODY>
																<tr bgColor="#fff8f9">
																	<td vAlign="top">
																		<table>
																			<tr>
																				<td vAlign="top"></td>
																			</tr>
																			<tr>
																				<td vAlign="top"><asp:datagrid id="dgComprensori" runat="server" BackColor="White" GridLines="Horizontal" BorderColor="#1A49A3"
																						PagerStyle-CssClass="ordinato" AllowSorting="True" AutoGenerateColumns="False" PageSize="20" PagerStyle-Mode="NumericPages"
																						PagerStyle-Position="Top" AllowPaging="True" Width="400px" OnItemCommand="dgComprensori_ItemCommand" OnPageIndexChanged="dgComprensori_PageIndexChanged">
																						<Columns>
																							<asp:BoundColumn Visible="False" DataField="Id"></asp:BoundColumn>
																							<asp:BoundColumn DataField="Codice" HeaderText="Sigla">
																								<HeaderStyle Font-Bold="True" CssClass="blu"></HeaderStyle>
																								<ItemStyle CssClass="nero"></ItemStyle>
																							</asp:BoundColumn>
																							<asp:BoundColumn DataField="Descrizione" HeaderText="Comprensorio">
																								<HeaderStyle Font-Bold="True" CssClass="blu"></HeaderStyle>
																								<ItemStyle CssClass="nero"></ItemStyle>
																							</asp:BoundColumn>
																							<asp:TemplateColumn>
																								<ItemStyle Width="32px"></ItemStyle>
																								<ItemTemplate>
																									<asp:LinkButton Runat="server" ID="lb1" CommandName="vedi_localita" CssClass="blu" CausesValidation="False">Comuni associati</asp:LinkButton>
																								</ItemTemplate>
																							</asp:TemplateColumn>
																						</Columns>
																						<PagerStyle Position="Top" CssClass="ordinato" Mode="NumericPages"></PagerStyle>
																					</asp:datagrid></td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</TBODY>
														</TABLE>
													</TD>
												</tr>
											</TABLE>
										</td>
									</tr>
								</TBODY>
							</table>
							<table cellSpacing="0" cellPadding="0" width="700" border="0">
							</table>
						</td>
					</tr>
				</table>
				<!-- tabella di chiusura -->
				<TABLE id="chiusura" cellSpacing="0" cellPadding="0" width="100%" bgColor="#fff8f9">
					<tr>
						<td height="5"><IMG height="5" alt="" src="../images/x.gif"></td>
					</tr>
					<tr>
						<td background="../images/chiusuraRossa.gif" height="14">
							<div align="center"><font face="Tahoma" color="#ffffff" size="1"><b>Techno<i>service</i></b> 2005.
										All rights reserved</font></div>
							</B></td>
					</tr>
				</TABLE>
				</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></div>
		</form>
	</body>
</HTML>
